home *** CD-ROM | disk | FTP | other *** search
- #==============================================================
- #========================= Mission 01 =========================
- #==============================================================
-
- #With this function Fragile Engine will load background image
- #USING: loadBackground(backgroundPath)
- #loadBackground(back/back1.jpg, 7819)
- loadBackground(, 10000)
-
-
- #When you finished loading of your background you have to initialize its moving speed
- #You can change moving speed every time as you can
- #USING: initBackground(startPixel, moveStep)
- initBackground(0, 10)
-
- #This function sets how often and where will enemies appear and when is time to stop
- #USING: startRandEnemy(startPixel, delayBtwTwo, plusMinDelayBtwTwo, id, xMin, xMax, PlusMinusShipDelay, stopPixel)
-
- startRandEnemy(1000, 600, 100, 3, 0, 800, 5, 5000)
- startRandEnemy(1000, 600, 100, 2, 0, 800, 5, 5000)
- startRandEnemy(2500, 800, 100, 1, 0, 800, 5, 18000)
- startRandEnemy(2500, 2000, 100, 0, 0, 800, 5, 18000)
- startRandEnemy(5000, 500, 100, 3, 0, 800, 5, 20000)
- startRandEnemy(5000, 500, 100, 2, 0, 800, 5, 20000)
- startRandEnemy(12000, 2000, 100, 13, 0, 800, 5, 17000)
-
- startRandEnemy(18000, 1400, 100, 1, 0, 800, 5, 21000)
- startRandEnemy(18000, 2000, 100, 0, 0, 800, 5, 21000)
-
- startRandEnemy(20000, 1400, 100, 3, 0, 800, 5, 23000)
- startRandEnemy(20000, 1400, 100, 2, 0, 800, 5, 23000)
- startRandEnemy(21000, 1400, 100, 1, 0, 800, 5, 23000)
- startRandEnemy(21000, 2500, 100, 0, 0, 800, 5, 23000)
-
-
- #USING: specEnemy(enemyBaseID, x, startY, isBoss, end)
- specEnemy(2, 200, 23000, 0, 1)
- #specEnemy(1, 300, 100, 0, 0)
- #specEnemy(1, 500, 100, 1, 1)
-
- #specEnemy(2, 60, 100, 0, 0)
- #specEnemy(2, 60, 200, 0, 0)
- #specEnemy(2, 60, 300, 0, 0)
- #specEnemy(2, 700, 100, 0, 0)
- #specEnemy(2, 700, 200, 0, 0)
- #specEnemy(2, 700, 300, 0, 0)
-
-
-
-
- #USING: execute(scriptPath)
- execute(missions\explosions.dat)
- execute(missions\trans0.dat)
- execute(missions\asteroid0.dat)
- execute(missions\asteroid1.dat)
- execute(missions\asteroid2.dat)
- execute(missions\asteroid3.dat)
- execute(missions\text0.dat)
-